﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>itemsPage</title>

    <!-- WinJS references -->
    <link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" />
    <script src="//Microsoft.WinJS.1.0/js/base.js"></script>
    <script src="//Microsoft.WinJS.1.0/js/ui.js"></script>

    <link href="/css/default.css" rel="stylesheet" />
    <link href="/pages/items/items.css" rel="stylesheet" />
    <script src="/js/photoDB.js"></script>
    <script src="/js/data.js"></script>
    <script src="/pages/items/items.js"></script>
</head>
<body>
    <!-- This template is used to display each item in the ListView declared below. -->
    <div class="itemtemplate" data-win-control="WinJS.Binding.Template">
        <div class="item">
            <img class="item-image" src="#" data-win-bind="src: backgroundImage; alt: title" />
            <div class="item-overlay">
                <h4 class="item-title" data-win-bind="textContent: title"></h4>
                <h6 class="item-subtitle win-type-ellipsis" data-win-bind="textContent: subtitle"></h6>
            </div>
        </div>
    </div>

    <div class="semanticZoomTemplate" data-win-control="WinJS.Binding.Template" style="display: none">
        <div class="semanticZoomItem">
            <h2 class="semanticZoomItem-Text" data-win-bind="innerText: name"></h2>
        </div>
    </div>

    <!-- The content that will be loaded and displayed. -->    
    <div class="itemspage fragment">
        <header aria-label="Header content" role="banner">
            <button class="win-backbutton" aria-label="Back" disabled type="button"></button>
            <h1 class="titlearea win-type-ellipsis">
                <span class="pagetitle">PhotoSearch</span>
            </h1>
        </header>
        <section aria-label="Main content" role="main">
            <div id="semanticZoomDiv" data-win-control="WinJS.UI.SemanticZoom">                
                <div class="itemslist" aria-label="groups" data-win-control="WinJS.UI.ListView" data-win-options="{ selectionMode: 'none' }"></div>
                <div class="zoomoutView" aria-label="List of groups" data-win-control="WinJS.UI.ListView" data-win-options="{ selectionMode: 'none' }"></div>                
            </div>
        </section>
    </div>

    <div class="galleryAppBar" data-win-control="WinJS.UI.AppBar" aria-label="Navigation Bar"
        data-win-options="{layout:'custom',placement:'bottom'}">
        <header class="appbar" aria-label="Navigation bar" role="banner">
            <div class="gallery">
                <h3>Select Gallery</h3>
                <select class="gallerySelector"></select>
            </div>
            <div class="search">
                <h3>Search</h3>
                <input type="text" value="keyword" class="search-keyword" />
                <input type="button" value="Bing" class="bing" />
            </div>
        </header>
    </div>
</body>
</html>
